package com.ruoyi.elebook.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 图片页对象 book_page
 * 
 * @author ruoyi
 * @date 2023-12-11
 */
public class BookPage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    private Long id;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String pageName;

    /** 图片排序 */
    @Excel(name = "图片排序")
    private Long pageSort;

    /** 是否为封面 */
    @Excel(name = "是否为封面")
    private Integer isCover;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String pageUrl;

    /** 电子书id */
    @Excel(name = "电子书id")
    private Long elebookId;

    /** 电子书访问路径 */
    @Excel(name = "电子书访问路径")
    private String accessUrl;

    private int seesionid;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPageName(String pageName) 
    {
        this.pageName = pageName;
    }

    public String getPageName() 
    {
        return pageName;
    }
    public void setPageSort(Long pageSort) 
    {
        this.pageSort = pageSort;
    }

    public Long getPageSort() 
    {
        return pageSort;
    }
    public void setIsCover(Integer isCover) 
    {
        this.isCover = isCover;
    }

    public Integer getIsCover() 
    {
        return isCover;
    }
    public void setPageUrl(String pageUrl) 
    {
        this.pageUrl = pageUrl;
    }

    public String getPageUrl() 
    {
        return pageUrl;
    }
    public void setElebookId(Long elebookId) 
    {
        this.elebookId = elebookId;
    }

    public Long getElebookId() 
    {
        return elebookId;
    }

    public String getAccessUrl() {
        return accessUrl;
    }

    public void setAccessUrl(String accessUrl) {
        this.accessUrl = accessUrl;
    }

    public int getSeesionid() {
        return seesionid;
    }

    public void setSeesionid(int seesionid) {
        this.seesionid = seesionid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pageName", getPageName())
            .append("pageSort", getPageSort())
            .append("isCover", getIsCover())
            .append("pageUrl", getPageUrl())
            .append("elebookId", getElebookId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("accessUrl", getAccessUrl())
            .append("remark", getRemark())
            .append("seesionid", getSeesionid())
            .toString();
    }
}
